function Mvote_initFrame(iwin) { var iframeobj = null; if (document.getElementById) { iframeobj = document.getElementById(iwin); } else { eval('iframeobj = ' + iwin + ';'); } if (iframeobj && !window.opera) { iframeobj.style.display="block" if (iframeobj.contentDocument && iframeobj.contentDocument.body.offsetHeight) { //ns6 syntax //iframeobj.width = iframeobj.contentDocument.body.scrollWidth+20; iframeobj.height = iframeobj.contentDocument.body.offsetHeight +20 ; } else if ( iframeobj.Document && iframeobj.Document.body.scrollHeight){ //iframeobj.width = iframeobj.Document.body.scrollWidth; iframeobj.height = iframeobj.Document.body.scrollHeight ; } } } var guid = "785ecb4f-878b-887b-ab13-43cafaf2bbff"; var jskey = "9a84116c16ed337288336b9cf961b83c"; var iframeurl = "https://s.a.mvote.cn/is/"+guid+".html?voteurl="+window.location.href+"&jskey=9a84116c16ed337288336b9cf961b83c&height=765&width=100%"; var iframehtml = ''; document.write(iframehtml);